package com.qjkji.orderproject.backmanager.service;

import com.qjkji.orderproject.core.entity.StatisticsEntity;

import java.util.List;

public interface StatisticsService {

    /**
     * 日统计客户
     * @param year
     * @param month
     * @param day
     * @return
     */
    List<StatisticsEntity> clientStatisticsForDay(Integer year, Integer month, Integer day);

    List<StatisticsEntity> clientStatisticsForMonth(Integer year, Integer month);

    List<StatisticsEntity> clientStatisticsForYear(Integer year);

    List<StatisticsEntity> incomeStatisticsForDay(Integer year, Integer month, Integer day);

    List<StatisticsEntity> incomeStatisticsForMonth(Integer year, Integer month);

    List<StatisticsEntity> incomeStatisticsForYear(Integer year);

    List<StatisticsEntity> bestSales(Integer year, Integer month);

    List<StatisticsEntity> worstSales(Integer year, Integer month);

}
